package router

import (
	v1 "gin-vue-admin/api/v1"

	"github.com/gin-gonic/gin"
)

func InitCustomProcessBaseEnvironmentRelRouter(Router *gin.RouterGroup) {
	CustomProcessBaseEnvironmentRelRouter := Router.Group("customProcessBaseEnvironmentRel")
	// CustomProcessBaseEnvironmentRelRouter := Router.Group("customProcessBaseEnvironmentRel").Use(middleware.JWTAuth()).Use(middleware.CasbinHandler()).Use(middleware.OperationRecord())
	{
		CustomProcessBaseEnvironmentRelRouter.POST("createCustomProcessBaseEnvironmentRel", v1.CreateCustomProcessBaseEnvironmentRel)             // 新建CustomProcessBaseEnvironmentRel
		CustomProcessBaseEnvironmentRelRouter.DELETE("deleteCustomProcessBaseEnvironmentRel", v1.DeleteCustomProcessBaseEnvironmentRel)           // 删除CustomProcessBaseEnvironmentRel
		CustomProcessBaseEnvironmentRelRouter.DELETE("deleteCustomProcessBaseEnvironmentRelByIds", v1.DeleteCustomProcessBaseEnvironmentRelByIds) // 批量删除CustomProcessBaseEnvironmentRel
		CustomProcessBaseEnvironmentRelRouter.PUT("updateCustomProcessBaseEnvironmentRel", v1.UpdateCustomProcessBaseEnvironmentRel)              // 更新CustomProcessBaseEnvironmentRel
		CustomProcessBaseEnvironmentRelRouter.GET("findCustomProcessBaseEnvironmentRel", v1.FindCustomProcessBaseEnvironmentRel)                  // 根据ID获取CustomProcessBaseEnvironmentRel
		CustomProcessBaseEnvironmentRelRouter.GET("getCustomProcessBaseEnvironmentRelList", v1.GetCustomProcessBaseEnvironmentRelList)            // 获取CustomProcessBaseEnvironmentRel列表
	}
}
